package pers.xx.sbm.entity;

/**
 * @author ：xiexing
 * @description：订单实体类
 * @date ：2020/7/22 20:53
 */
public class Order {

    private Long Id;

    private String orderName;//订单名称

    private Float orderPrice;//订单价格

    private int orderNum;//订单数量

    public Order() {
    }

    public Order(Long id, String orderName, Float orderPrice, int orderNum) {
        Id = id;
        this.orderName = orderName;
        this.orderPrice = orderPrice;
        this.orderNum = orderNum;
    }

    public Long getId() {
        return Id;
    }

    public void setId(Long id) {
        Id = id;
    }

    public String getOrderName() {
        return orderName;
    }

    public void setOrderName(String orderName) {
        this.orderName = orderName;
    }

    public Float getOrderPrice() {
        return orderPrice;
    }

    public void setOrderPrice(Float orderPrice) {
        this.orderPrice = orderPrice;
    }

    public int getOrderNum() {
        return orderNum;
    }

    public void setOrderNum(int orderNum) {
        this.orderNum = orderNum;
    }

    @Override
    public String toString() {
        return "Order{" +
                "Id=" + Id +
                ", orderName='" + orderName + '\'' +
                ", orderPrice=" + orderPrice +
                ", orderNum=" + orderNum +
                '}';
    }
}
